package com.li.designpattern.composite;

import java.util.List;

public abstract class Company {
	private String name;
	public Company(String name){
		this.name=name;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public abstract void add(Company e);
	public abstract void remove(Company e);
	public abstract void display(int depth);
}
